/* 登录模块 */

#login-wrap {
    width: 6rem;
    height: 2.8rem;
    background-image: linear-gradient(to right, pink, skyblue);
    padding-left: 0.5rem;
    padding-top: 0.3rem;
    font-size: 0.5rem;
    border-radius: .5rem;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    vertical-align: middle;
    transition: top 0.5s;
}

#login-wrap table {
    font-size: 0.4rem;
}

#login-wrap input {
    width: 3.5rem;
    height: 0.5rem;
    font-size: 0.4rem;
    vertical-align: middle;
}

#login-wrap input[type="submit"] {
    width: 2.3rem;
    margin-top: .1rem;
    height: .6rem;
    font-size: .3rem;
    background-color: #0ff;
    margin-left: .5rem;
}

#login-wrap .deleteInput {
    width: 0.5rem;
    height: 0.5rem;
    text-align: center;
    line-height: 0.5rem;
    border: 1px solid black;
    background-color: #f40;
}

#login-wrap input[type="checkbox"] {
    width: .5rem;
}

#login-wrap #registerBtn {
    position: absolute;
    right: 0.55rem;
    top: 0.15rem;
    width: 1.7rem;
    height: 0.6rem;
    font-size: 0.3rem;
    background-color: #0f0;
}

/* 注册模块 */
#register-wrap {
    font-size: 0.2rem;
    padding-left: 0.5rem;
    padding-top: 0.5rem;
    width: 7.6rem;
    height: 4.2rem;
    border-radius: 0.5rem;
    background-color: #afa;
    left: 50%;
    top: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
    transition: top 0.5s;
}

#register-wrap .yzm {
    width: 1.8rem;
    height: 0.5rem;
    border: 1px solid #333;
}

#register-wrap .yzm-input {
    width: 1.2rem;
    height: 0.55rem;
}

#register-wrap .hyz {
    background-color: pink;
}

#register-wrap button,
#register-wrap input[type='submit'],
#register-wrap input[type='reset'] {
    height: 0.6rem;
    padding: 0 0.3rem;
}

#register-wrap input[type='submit'] {
    background-color: #0f0;
}

#register-wrap input[type='reset'] {
    background-color: deepskyblue;
}

#register-wrap #loginBtn {
    background-color: #0ff;
}

#register-wrap .deleteInput {
    width: 0.4rem;
    height: 0.4rem;
    border: 1px solid #000;
    line-height: 0.4rem;
    background-color: red;
    text-align: center;
}

#register-wrap input[type="text"],
#register-wrap input[type="password"] {
    width: 3.9rem;
    height: 0.45rem;
}

/* 弹出的消息框 */

#message-wrap {
    line-height: .8rem;
    height: .8rem;
    font-size: .4rem;
    text-align: center;
    color: white;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

#message-wrap .left {
    position: absolute;
    left: -1rem;
    top: 0;
    width: 1rem;
    height: .8rem;
    line-height: .8rem;
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(0, 191, 255, 0.8));
}

#message-wrap .center {
    float: left;
    height: .8rem;
    line-height: .8rem;
    background-image: linear-gradient(to right, rgba(0, 191, 255, 0.8), rgba(0, 191, 255, 0.8));
}

#message-wrap .right {
    position: absolute;
    right: -1rem;
    top: 0;
    width: 1rem;
    height: .8rem;
    line-height: .8rem;
    background-image: linear-gradient(to right, rgba(0, 191, 255, 0.8), rgba(255, 255, 255, 0));
}

.message-wrap-move {
    transform: translate(-50%, -60%);
}

/* 弹出对话框 */

#dialog-wrap {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
}

#dialog-wrap .dialog {
    width: 4rem;
    /* height: 3rem; */
    padding-bottom: 0.5rem;
    background-image: linear-gradient(to right, #fa0, #a0f, #0fa);
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.3rem;
    border-radius: 10px;
}

#dialog-wrap .con {
    color: #fff;
    margin: 0.5rem 0.5rem 0;
}

#dialog-wrap .btn-wrap {
    width: 100%;
    text-align: center;
    margin-top: 0.25rem;
}

#dialog-wrap button {
    width: 1.2rem;
    height: 0.6rem;
    margin: 0 0.2rem;
    font-size: 0.4rem;
}

#dialog-wrap button.no {
    background-color: red;
}

#dialog-wrap button.yes {
    background-color: springgreen;
}


/* 烟花升级特效 */

#foreward {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    display: none;
    /* background-color: #0003; */
}

#foreward canvas {
    position: absolute;
    left: 0;
    top: 0;
}

.close-button.close-bottom {
    display: none;
}

ul.closed {
    display: none;
}


/* 主场景 */

#main-scene {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
}

#main-scene #main-land-wrap {
    width: 100%;
    height: 100%;
    position: absolute;
    background: url(../images/mainbg.png) no-repeat center center;
    background-size: auto 100%;
}


/* 土地和作物容器 */

#land-crop-wrap {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 11.6rem;
    height: 5.8rem;
    position: absolute;
}


/* 土地 */

#land-wrap {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
}

#land-wrap [class^=land-item] {
    width: 2rem;
    height: 1rem;
    position: absolute;
    background: url(../images/land/land_plain.png) no-repeat;
    background-size: 2rem 1rem;
}

#land-wrap .land-time {
    width: 1rem;
    height: 0.3rem;
    line-height: 0.3rem;
    font-size: 0.25rem;
    text-align: center;
    position: absolute;
    left: 50%;
    bottom: 0;
    border-radius: 0.1rem;
    transform: translate(-50%, 0);
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 1;
    display: none;
}


/* 作物 */

#crop-wrap {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
}

#crop-wrap [class^=crop-item] {
    width: 2rem;
    height: 2rem;
    position: absolute;
    /* background: url(../images/c/c0.png) no-repeat; */
    background-size: 2rem 2rem;
}


/* 可收获、可扩建、可开采动画 */

.reap-ani {
    width: 0.9rem;
    height: 0.6rem;
    background: url(../images/main/reap.png) no-repeat;
    background-size: 0.9rem 0.6rem;
    position: absolute;
    display: none;
    z-index: 1;
    left: 0.55rem;
    top: 0.8rem;
    animation: reap-ani 2s ease-in-out 0s infinite normal;
}

.extend-ani {
    display: none;
    width: 0.9rem;
    height: 0.6rem;
    background: url(../images/main/extend.png) no-repeat;
    background-size: 0.9rem 0.6rem;
    position: absolute;
    z-index: 1;
    left: 0.55rem;
    top: 0.8rem;
    animation: reap-ani 2s ease-in-out 0s infinite normal;
}

.mine-ani {
    display: none;
    width: 0.9rem;
    height: 0.6rem;
    background: url(../images/main/can-mine.png) no-repeat;
    background-size: 0.9rem 0.6rem;
    position: absolute;
    z-index: 1;
    left: 0.55rem;
    top: 0;
    animation: reap-ani 2s ease-in-out 0s infinite normal;
}

@keyframes reap-ani {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-0.3rem);
    }

    100% {
        transform: translateY(0);
    }
}


/* 点击作物位置 */

#click-crop-wrap {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0.05rem;
}

#click-crop-wrap ul {
    width: 100%;
    height: 100%;
}

#click-crop-wrap [class^=click-crop-item] {
    width: 1.2rem;
    height: 1.2rem;
    position: absolute;
    border-radius: 50%;
}

#click-crop-wrap .active {
    box-shadow: 0 0 0.1rem 0.2rem red;
    animation: select-land 5s linear 0s infinite normal;
}

@keyframes select-land {
    0% {
        box-shadow: 0 0 0.1rem 0.2rem #f00;
    }

    17% {
        box-shadow: 0 0 0.1rem 0.2rem rgba(255, 0, 0, 0.533);
    }

    33% {
        box-shadow: 0 0 0.1rem 0.2rem #0f0;
    }

    50% {
        box-shadow: 0 0 0.1rem 0.2rem rgba(0, 255, 0, 0.533);
    }

    66% {
        box-shadow: 0 0 0.1rem 0.2rem #0ff;
    }

    83% {
        box-shadow: 0 0 0.1rem 0.2rem rgba(0, 255, 255, 0.533);
    }

    100% {
        box-shadow: 0 0 0.1rem 0.2rem #f00;
    }
}

/* 钻石成熟模块 */

.diamond-ripe-wrap {
    width: 100%;
    height: 2.4rem;
    position: absolute;
    left: 0;
    bottom: 0;
    background-color: #0ff;
    display: none;
}


.diamond-ripe-wrap .diamond-click {
    width: 1.5rem;
    height: 1.5rem;
    background-color: #fff;
    border-radius: 0.2rem;
    padding: 0.1rem;
    box-sizing: border-box;
    position: absolute;
    left: 50%;
    top: 10%;
    transform: translate(-50%, 0);
    text-align: center;
    font-size: 0.5rem;
}

.diamond-ripe-wrap .diamond-click img {
    width: 1.3rem;
    height: 1.3rem;
}

.diamond-ripe-wrap .reap-name {
    width: 5rem;
    margin-left: -1.8rem;
    margin-top: 0.1rem;
    text-align: center;
    font-size: 0.4rem;
}


/* 主界面按钮 */

/* 签到按钮 */

#signin-pic {
    width: 1.5rem;
    height: 1.5rem;
    position: absolute;
    right: 0.2rem;
    top: 0rem;
    background: url(../images/main/signin.png) no-repeat;
    background-size: 100% 100%;
}

#signin-pic::after {
    content: '签到';
    text-align: center;
    font-size: 0.3rem;
    font-weight: bold;
    color: #fff;
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(0, 191, 255, 1), rgba(0, 191, 255, 1), rgba(255, 255, 255, 0));
    display: block;
    position: relative;
    left: 50%;
    top: 1.4rem;
    transform: translate(-50%, 0);
}

/* 商店按钮 */

#shop-pic {
    width: 1.5rem;
    height: 1.5rem;
    position: absolute;
    right: 0.2rem;
    top: 3.8rem;
    background: url(../images/main/shop.png) no-repeat;
    background-size: 100% 100%;
}

#shop-pic::after {
    content: '商店';
    text-align: center;
    font-size: 0.3rem;
    font-weight: bold;
    color: #fff;
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(0, 191, 255, 1), rgba(0, 191, 255, 1), rgba(255, 255, 255, 0));
    display: block;
    position: relative;
    left: 50%;
    top: 1.4rem;
    transform: translate(-50%, 0);
}

/* 升级土地按钮 */
#upgrade-land-pic {
    width: 1.5rem;
    height: 1.5rem;
    position: absolute;
    right: 0.2rem;
    top: 5.7rem;
    background: url(../images/main/upgrade_land.png) no-repeat;
    background-size: 100% 100%;
}

#upgrade-land-pic::after {
    content: '升级土地';
    text-align: center;
    font-size: 0.3rem;
    font-weight: bold;
    color: #fff;
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(0, 191, 255, 1), rgba(0, 191, 255, 1), rgba(255, 255, 255, 0));
    display: block;
    position: relative;
    left: 50%;
    top: 1.4rem;
    transform: translate(-50%, 0);
}

/* 设置按钮 */

#setting-pic {
    width: 1.5rem;
    height: 1.5rem;
    position: absolute;
    right: 0.2rem;
    top: 7.6rem;
    background: url(../images/main/setting.png) no-repeat;
    background-size: 100% 100%;
}

#setting-pic::after {
    content: '系统';
    text-align: center;
    font-size: 0.3rem;
    font-weight: bold;
    color: #fff;
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(0, 191, 255, 1), rgba(0, 191, 255, 1), rgba(255, 255, 255, 0));
    display: block;
    position: relative;
    left: 50%;
    top: 1.4rem;
    transform: translate(-50%, 0);
}

/* 矿场按钮 */
#mine-pic {
    width: 2rem;
    height: 2rem;
    position: absolute;
    background: url(../images/main/mine.png) no-repeat;
    background-size: auto 2rem;
    top: 0rem;
    margin-left: 8.5rem;
}

#mine-pic::after {
    content: '采矿';
    text-align: center;
    font-size: 0.3rem;
    font-weight: bold;
    color: #fff;
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(0, 191, 255, 1), rgba(0, 191, 255, 1), rgba(255, 255, 255, 0));
    display: block;
    position: relative;
    left: 50%;
    top: 0.3rem;
    transform: translate(-50%, 0);
}

#mine-pic .info {
    width: 1.2rem;
    line-height: 0.6rem;
    font-size: 0.3rem;
    text-align: center;
    margin: 0 auto;
    margin-top: 0.5rem;
    background-color: rgba(255, 255, 255, 0.8);
}

/* 仓库按钮 */

#house-pic {
    width: 1.5rem;
    height: 1.5rem;
    position: absolute;
    right: 0.2rem;
    top: 1.9rem;
    background: url(../images/main/house.png) no-repeat;
    background-size: 100% 100%;
}

#house-pic::after {
    content: '仓库';
    text-align: center;
    font-size: 0.3rem;
    font-weight: bold;
    color: #fff;
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(0, 191, 255, 1), rgba(0, 191, 255, 1), rgba(255, 255, 255, 0));
    display: block;
    position: relative;
    left: 50%;
    top: 1.4rem;
    transform: translate(-50%, 0);
}


/* 仓库界面 */

#house-wrap {
    width: 100%;
    height: 100%;
    position: absolute;
    display: none;
}

#house-crop-wrap,
#house-seed-wrap {
    display: none;
}

#house-content {
    width: 10.2rem;
    height: 6rem;
    position: absolute;
    text-align: center;
    font-size: 0.5rem;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-image: linear-gradient(to right, #67f18a, #87ceeb, #67f18a);
    border-radius: 0.5rem;
    border: 0.1rem solid antiquewhite;
}

#house-wrap ul {
    margin: 0.1rem 0 0 0.8rem;
}

#house-wrap li {
    width: 1.5rem;
    height: 2rem;
    border-radius: 0.2rem;
    float: left;
    margin: 0.1rem;
}

#house-wrap [class^=house-item] {
    width: 1.5rem;
    height: 1.5rem;
    border: 1px solid blue;
    border-radius: 0.2rem;
}

#house-wrap .house-li .item {
    font-size: 0.2rem;
}

#house-wrap .leftBtn {
    width: 0.7rem;
    height: 1.2rem;
    line-height: 1rem;
    background-color: dodgerblue;
    color: #fff;
    font-size: 0.5rem;
    border-radius: 0.2rem 0 0 0.2rem;
    position: absolute;
    left: 0.1rem;
    top: 50%;
    transform: translate(0, -50%);
    cursor: pointer;
}

#house-wrap .rightBtn {
    width: 0.7rem;
    height: 1.2rem;
    line-height: 1rem;
    background-color: dodgerblue;
    color: #fff;
    font-size: 0.5rem;
    border-radius: 0 0.2rem 0.2rem 0;
    position: absolute;
    right: 0.1rem;
    top: 50%;
    transform: translate(0, -50%);
    cursor: pointer;
}

#house-wrap .house-page {
    position: absolute;
    left: 50%;
    bottom: 3%;
    transform: translate(-50%, 0);
}

#house-wrap .house-crop {
    width: 2rem;
    height: 0.5rem;
    line-height: 0.5rem;
    text-align: center;
    background-color: red;
    position: absolute;
    border-radius: 0.3rem 0 0 0;
    left: 0.1rem;
    top: 0.1rem;
    font-size: 0.2rem;
    box-shadow: 0.1rem 0.1rem 0.05rem 0.05rem #fff;
}

#house-wrap .house-seed {
    width: 2rem;
    height: 0.5rem;
    line-height: 0.5rem;
    text-align: center;
    background-color: #aaa;
    position: absolute;
    left: 2.3rem;
    top: 0.1rem;
    font-size: 0.2rem;
}

#house-wrap .houseTitle {
    margin-left: 1.5rem;
}

#house-wrap .house-close {
    width: 1rem;
    height: 1rem;
    position: absolute;
    right: 0;
    top: 0;
}


/* 背包种子 */

#seed-wrap {
    width: 100%;
    height: 2.4rem;
    position: absolute;
    left: 0;
    bottom: 0;
    background-image: linear-gradient(to right, #fd7171, #ffa500, #fd7171);
    display: none;
}

#seed-wrap ul {
    width: 10.6rem;
    margin: 0 auto;
}

#seed-wrap ul li {
    width: 1.5rem;
    height: 2rem;
    float: left;
    margin: 0.3rem;
    margin-top: -0.1rem;
    position: relative;
}

#seed-wrap ul li .seed-itemm {
    width: 1.5rem;
    height: 1rem;
    background-color: #fff;
    transform: translate(0, 0.25rem);
    border-radius: 0.2rem;
}

#seed-wrap ul li.lock .seed-itemm::after {
    width: 1.5rem;
    height: 1rem;
    content: "下一级解锁";
    text-align: center;
    line-height: 1rem;
    font-size: 0.2rem;
    color: #fff;
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    border-radius: 0.2rem;
    background-color: rgba(0, 0, 0, 0.7);
}

#seed-wrap ul li .seed-item-name {
    width: 1.5rem;
    height: 1rem;
    position: absolute;
    left: 0;
    bottom: -0.3rem;
    font-size: 0.2rem;
    text-align: center;
}

#seed-wrap ul li button {
    width: 1rem;
    height: 0.4rem;
    line-height: 0.4rem;
    position: absolute;
    font-size: 0.3rem;
    border: 0;
    left: 50%;
    bottom: -0.4rem;
    transform: translate(-50%, 0);
    background-color: #f40;
}

#seed-wrap ul li.lock button {
    display: none;
}

#seed-wrap .leftBtn {
    width: 0.8rem;
    height: 1.5rem;
    background-color: deepskyblue;
    position: absolute;
    font-size: 0.5rem;
    text-align: center;
    box-sizing: border-box;
    padding-top: 0.3rem;
    left: 0.5rem;
    top: 0.5rem;
    border-radius: 0.3rem 0 0 0.3rem;
}

#seed-wrap .rightBtn {
    width: 0.8rem;
    height: 1.5rem;
    background-color: deepskyblue;
    position: absolute;
    font-size: 0.5rem;
    text-align: center;
    box-sizing: border-box;
    padding-top: 0.3rem;
    right: 0.5rem;
    top: 0.5rem;
    border-radius: 0 0.3rem 0.3rem 0;
}


/* 收割庄稼模块 */

#reap-crop-wrap {
    width: 100%;
    height: 2.4rem;
    position: absolute;
    left: 0;
    bottom: 0;
    background-color: orange;
    display: none;
}

#reap-crop-wrap .reap-crop {
    width: 1.5rem;
    height: 1.5rem;
    background-color: skyblue;
    border-radius: 0.2rem;
    padding: 0.1rem;
    box-sizing: border-box;
    position: absolute;
    left: 50%;
    top: 10%;
    transform: translate(-50%, 0);
    text-align: center;
    font-size: 0.5rem;
}

#reap-crop-wrap .reap-crop img {
    width: 1.3rem;
    height: 1.3rem;
}

#reap-crop-wrap .reap-name {
    width: 5rem;
    margin-left: -1.8rem;
    margin-top: 0.1rem;
    text-align: center;
    font-size: 0.4rem;
}


/* 金币、钻石显示 */

#coin-wrap {
    width: 8rem;
    position: absolute;
    left: 50%;
    top: 0.1rem;
    transform: translate(-50%, 0);
    font-size: 0.2rem;
    /* word-break: break-all; */
}

#coin-wrap strong {
    position: relative;
    top: 2px;
}

#coin-wrap span {
    width: 3rem;
    height: 0.5rem;
    display: inline-block;
    vertical-align: middle;
    background-color: #fff;
    word-break: break-all;
    border-radius: 0.2rem;
    padding: 0.05rem;
}

#coin-wrap span:nth-of-type(1) {
    position: absolute;
    left: 0;
    top: 0;
}

#coin-wrap span:nth-of-type(2) {
    margin: 0 0.3rem;
    margin-left: 3.4rem;
}

#coin-wrap img {
    width: 0.5rem;
    height: 0.5rem;
    vertical-align: middle;
}

#coin-wrap span:nth-of-type(n + 2) {
    width: 2rem;
}


/* 卖出弹框 */

#sale-wrap {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    text-align: center;
    display: none;
}

#sale-wrap .sale-item {
    width: 4rem;
    height: 4rem;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid red;
    background-color: pink;
    border-radius: 0.5rem;
    font-size: 0.3rem;
}

#sale-wrap .img {
    width: 2rem;
    height: 2rem;
    background: url(../images/crop/2.png) no-repeat center -0.3rem;
    background-size: 2rem 2rem;
    position: absolute;
    left: 50%;
    top: 0.15rem;
    transform: translate(-50%, 0);
    background-color: #fff;
    border-radius: 0.3rem;
}

#sale-wrap .sale {
    width: 100%;
    height: 1.5rem;
    position: absolute;
    left: 50%;
    bottom: 0.2rem;
    transform: translate(-50%, 0);
}

#sale-wrap button,
#sale-wrap input {
    font-size: 0.3rem;
}

#sale-wrap .sub,
#sale-wrap .add {
    width: 0.5rem;
    height: 0.5rem;
}

#sale-wrap input,
#sale-wrap .all {
    height: 0.5rem;
    vertical-align: top;
}

#sale-wrap .sale-coin {
    width: 4rem;
    height: 1rem;
    text-align: center;
    position: absolute;
    left: 0;
    bottom: 0;
    font-size: 0.2rem;
}

#sale-wrap .sale-part,
#sale-wrap .sale-cancer {
    width: 1.5rem;
    height: 0.6rem;
    display: inline-block;
    position: absolute;
    bottom: 0;
    margin-bottom: 0.2rem;
}

#sale-wrap .sale-part {
    background-color: #f40;
    left: 0.4rem;
    bottom: -0.2rem;
}

#sale-wrap .sale-cancer {
    background-color: deepskyblue;
    right: 0.4rem;
    bottom: -0.2rem;
}


/* 买种子模块 */

#buy-seed-wrap {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    text-align: center;
    display: none;
}

#buy-seed-wrap .sale-item {
    width: 4rem;
    height: 4rem;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid red;
    background-color: pink;
    border-radius: 0.5rem;
    font-size: 0.3rem;
}

#buy-seed-wrap .img {
    width: 2rem;
    height: 2rem;
    background: url(../images/crop/2.png) no-repeat center -0.3rem;
    background-size: 2rem 2rem;
    position: absolute;
    left: 50%;
    top: 0.15rem;
    transform: translate(-50%, 0);
    background-color: #fff;
    border-radius: 0.3rem;
}

#buy-seed-wrap .sale {
    width: 100%;
    height: 1.5rem;
    position: absolute;
    left: 50%;
    bottom: 0.2rem;
    transform: translate(-50%, 0);
}

#buy-seed-wrap button,
#buy-seed-wrap input {
    font-size: 0.3rem;
}

#buy-seed-wrap .sub,
#buy-seed-wrap .add {
    width: 0.5rem;
    height: 0.5rem;
}

#buy-seed-wrap input,
#buy-seed-wrap .all {
    height: 0.5rem;
}

#buy-seed-wrap .sale-coin {
    width: 4rem;
    height: 1rem;
    text-align: center;
    position: absolute;
    left: 0;
    bottom: 0rem;
    font-size: 0.2rem;
}

#buy-seed-wrap .sale-part,
#buy-seed-wrap .sale-cancer {
    width: 1.5rem;
    height: 0.6rem;
    display: inline-block;
    position: absolute;
    bottom: 0;
    margin-bottom: 0.2rem;
}

#buy-seed-wrap .sale-part {
    background-color: #f40;
    left: 0.4rem;
    bottom: -0.2rem;
}

#buy-seed-wrap .sale-cancer {
    background-color: deepskyblue;
    right: 0.4rem;
    bottom: -0.2rem;
}


/* 系统设置 */


/* 系统设置模块 */

#setting-wrap {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    display: none;
}

#setting-wrap .close {
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: url(../images/main/close.png) no-repeat;
    background-size: 100% 100%;
    position: absolute;
    right: -0.5rem;
    top: -0.55rem;
    z-index: 1;
}

#setting-wrap .setting-content {
    width: 10rem;
    height: 5.5rem;
    /* background: url(../images/main/setting.png);
    background-size: 2rem auto; */
    background-color: pink;
    border: 1px solid #000;
    border-radius: 20px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

#setting-wrap .title {
    width: 2rem;
    height: 100%;
    border-right: 1px solid red;
    box-sizing: border-box;
}

#setting-wrap .title p,
#setting-wrap .title li {
    width: 1.5rem;
    height: 0.5rem;
    line-height: 0.5rem;
    text-align: center;
    font-size: 0.2rem;
    margin: 0 0 0.2rem 0.2rem;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 0.1rem;
}

#setting-wrap .title p {
    border: none;
    padding-top: 0.2rem;
    background-color: transparent;
    font-size: 0.3rem;
    color: #fff;
    font-weight: bold;
}

#setting-wrap .title li.active {
    background: #4f0;
    border: 1px solid #000;
}

#setting-wrap .content {
    width: 8rem;
    height: 100%;
    background-color: skyblue;
    padding: 0.3rem;
    border-radius: 0 20px 20px 0;
    position: absolute;
    right: 0;
    top: 0;
    box-sizing: border-box;
}

#setting-wrap .content .item {
    width: 100%;
    height: 100%;
    border: 1px solid #fff;
    display: none;
}

#setting-wrap .content .item.active {
    display: block;
}

#setting-wrap .content .item:first-of-type {
    background-image: linear-gradient(to right, #acfdab, rgb(247, 136, 136), #acfdab);
}


/* 声音设置 */

#setting-wrap .audio-wrap {
    width: 4.33rem;
    height: 2.3rem;
    position: absolute;
    text-align: center;
    left: 50%;
    top: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
}

#setting-wrap .audio-wrap button {
    width: 1rem;
    height: 1rem;
    margin: 0 0.5rem;
    border-radius: 50%;
    vertical-align: top;
    position: relative;
    border-width: 2px;
    outline: none;
    background-color: #af0;
}

#setting-wrap .audio-wrap button:last-child {
    background-color: #fff;
}

#setting-wrap .audio-wrap .red-line.active {
    width: 1rem;
    height: 3px;
    background-color: red;
    position: absolute;
    left: -2px;
    top: 50%;
    transform: translate(0, -50%);
    transform: rotateZ(-45deg);
}


/* 更新密码 */

#setting-wrap .update-pwd-wrap {
    width: 100%;
    height: 100%;
    font-size: 0.3rem;
    text-align: center;
    box-sizing: border-box;
    padding: 1rem 1.2rem;
    background-image: linear-gradient(to right, pink, skyblue);
}

#setting-wrap .update-pwd-wrap table {
    text-align: right;
    margin: 0 auto;
}

#setting-wrap .update-pwd-wrap input[type=password] {
    width: 2rem;
    height: 0.4rem;
    vertical-align: middle;
}

#setting-wrap .update-pwd-wrap input[type=submit] {
    width: 1.3rem;
    height: 0.5rem;
    color: red;
    font-weight: bold;
    font-size: 0.25rem;
    outline: none;
    /* border: 1px solid green; */
    margin: 0.2rem 0 0 -0.2rem;
    background-image: linear-gradient(to right, skyblue, pink);
}

#setting-wrap .update-pwd-wrap .del-text {
    width: 0.4rem;
    height: 0.4rem;
    line-height: 0.4rem;
    text-align: center;
    color: red;
    background-color: skyblue;
    border: 1px solid red;
    font-size: 0.4rem;
}

/* 升级土地 */
#upgrade-land-wrap {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    display: none;
}

#upgrade-land-wrap .close {
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: url(../images/main/close.png) no-repeat;
    background-size: 100% 100%;
    position: absolute;
    right: -0.5rem;
    top: -0.55rem;
    z-index: 1;
}

#upgrade-land-wrap .setting-content {
    width: 10rem;
    height: 5.5rem;
    background: url(../images/main/upgrade_land.png);
    background-size: 2rem auto;
    background-color: pink;
    border: 1px solid #000;
    border-radius: 20px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

#upgrade-land-wrap .title {
    width: 2rem;
    height: 100%;
    border-right: 1px solid red;
    box-sizing: border-box;
}

#upgrade-land-wrap .title p,
#upgrade-land-wrap .title li {
    width: 1.5rem;
    height: 0.5rem;
    line-height: 0.5rem;
    text-align: center;
    font-size: 0.2rem;
    margin: 0 0 0.2rem 0.2rem;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 0.1rem;
}

#upgrade-land-wrap .title p {
    border: none;
    padding-top: 0.2rem;
    background-color: transparent;
    font-size: 0.3rem;
    color: #fff;
    font-weight: bold;
}

#upgrade-land-wrap .title li.active {
    background: #4f0;
    border: 1px solid #000;
}

#upgrade-land-wrap .content {
    width: 8rem;
    height: 100%;
    background-color: skyblue;
    padding: 0.3rem;
    border-radius: 0 20px 20px 0;
    position: absolute;
    right: 0;
    top: 0;
    box-sizing: border-box;
}

#upgrade-land-wrap .content .item {
    width: 100%;
    height: 100%;
    border: 1px solid #fff;
    display: none;
}

#upgrade-land-wrap .content .item.active {
    display: block;
}

#upgrade-land-wrap .content .item {
    background-image: linear-gradient(to right, #acfdab, rgb(247, 136, 136), #acfdab);
}

#upgrade-land-wrap .plain-land {
    width: 2rem;
    height: 1rem;
    border: 1px solid #000;
    background: url(../images/land/land_plain.png) no-repeat;
    background-size: 100% 100%;
    position: absolute;
    left: 1rem;
    top: 1rem;
}

#upgrade-land-wrap .land {
    width: 2rem;
    height: 1rem;
    line-height: 1rem;
    border: 1px solid #000;
    color: #fff;
    text-align: center;
    font-size: 0.5rem;
    font-weight: bold;
    position: absolute;
    left: 1rem;
    top: 1rem;
}

#upgrade-land-wrap .land.land-right {
    left: 5rem;
}

#upgrade-land-wrap .arrow {
    position: absolute;
    left: 3.5rem;
    color: #fff;
    top: 0.9rem;
}

#upgrade-land-wrap .info {
    font-size: 0.4rem;
    position: absolute;
    left: 1rem;
    top: 2rem;
    padding-top: 0.2rem;
    padding-right: 1rem;
}

#upgrade-land-wrap button {
    width: 2rem;
    height: 1rem;
    position: absolute;
    left: 3rem;
    bottom: 0.5rem;
    font-size: 0.3rem;
    font-weight: bold;
}

#upgrade-land-wrap .item:nth-of-type(1) .land.land-right,
#upgrade-land-wrap .item:nth-of-type(2) .land {
    background-color: red;
}

#upgrade-land-wrap .item:nth-of-type(1) button {
    color: red;
}

#upgrade-land-wrap .item:nth-of-type(2) .land.land-right,
#upgrade-land-wrap .item:nth-of-type(3) .land {
    background-color: black;
}

#upgrade-land-wrap .item:nth-of-type(2) button {
    color: black;
}

#upgrade-land-wrap .item:nth-of-type(3) .land.land-right,
#upgrade-land-wrap .item:nth-of-type(4) .land {
    background-color: blue;
}

#upgrade-land-wrap .item:nth-of-type(3) button {
    color: blue;
}

#upgrade-land-wrap .item:nth-of-type(4) .land.land-right,
#upgrade-land-wrap .item:nth-of-type(5) .land {
    background-color: purple;
}

#upgrade-land-wrap .item:nth-of-type(4) button {
    color: purple;
}

#upgrade-land-wrap .item:nth-of-type(5) .land.land-right {
    background-color: gold;
}

#upgrade-land-wrap .item:nth-of-type(5) button {
    color: gold;
}

/* 建议反馈区域 */
.advise-wrap {
    text-align: center;
}

.advise-wrap textarea {
    outline: none;
    resize: none;
    margin: 0.1rem;
    width: 7rem;
    height: 3.8rem;
    font-size: 0.3rem;
}

.advise-wrap button {
    width: 1.5rem;
    height: 0.7rem;
    color: red;
    font-weight: bold;
    font-size: 0.25rem;
    outline: none;
    /* border: 1px solid green; */
    margin: -1rem 0 0 -0.2rem;
    background-image: linear-gradient(to right, skyblue, pink);
}

/* 公告模块 */
.public-wrap {
    font-size: 0.4rem;
    padding: 10px;
}

.public-wrap h3 {
    text-align: center;
}

.public-wrap .public-con {
    text-indent: 2em;
}
